package com.xuhj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
// 扫描哪些包，哪些@FeignClient注解生效
@EnableFeignClients(basePackages = {"com.xuhj"})
//可以更好的看出是使用ribbon做得负载均衡
public class StartConsumerFeignDept_8007 {
    public static void main(String[] args) {
        SpringApplication.run(StartConsumerFeignDept_8007.class,args);
    }
}
